#ifndef STERILIZING_RUNING_H
#define STERILIZING_RUNING_H

#include <QDialog>
#include "time_display.h"
#include "warn.h"
#include "Timer.h"
#include "debug_platform.h"

namespace Ui {
class sterilizing_runing;
}

class sterilizing_runing : public QDialog
{
    Q_OBJECT
    
public:
    explicit sterilizing_runing(QWidget *parent = 0);
    ~sterilizing_runing();
    Ui::sterilizing_runing *ui;
    inline void stop_running();
    void start_running();
    void interface_handle();
    void entrance();
    bool status_changed;
    bool timer_working;
    uint timer_count;
private slots:
    void on_exit_btn_clicked();
    void timeDone();
    void on_continue_btn_clicked();
    void on_print_btn_clicked();
    void on_air_back_btn_clicked();
    void on_door_operation_btn_clicked();
    void on_exhaust_btn_clicked();
    void overtime_timeDone();
    void slot_recieve_timer_set(uint);
    void slot_recieve_status_display(uint);
    void on_sensor_adjust_Button_clicked();

    void on_test_Button_clicked();
    
private:
   int ret;
   QTimer *timer;
   debug_platform debug_dialog;
inline void showhidden();
inline void timing();
inline void door();
inline void error();
inline void action_display();
inline void stage_display();
inline void hide_unused_when_running();
inline void show_F0();
};

#endif // STERILIZING_RUNING_H
